package uy.edu.um.ltic.commons;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import uy.edu.um.ltic.exception.DataBaseException;

public interface GeneralEntitiesRemoteMgt extends Remote{
	void addCountry(String country) throws RemoteException, DataBaseException;
	void addPositionInCompany(String positionInCompany)throws RemoteException, DataBaseException;
	void addBranch(String branch)throws RemoteException, DataBaseException;
	void addDepartment(String department)throws RemoteException, DataBaseException;	
	void deleteCountry(String country)throws RemoteException, DataBaseException;
	void deletePositionInCompany(String positionInCompany)throws RemoteException, DataBaseException;
	void deleteBranch(String branch)throws RemoteException, DataBaseException;
	void deleteDepartment(String department)throws RemoteException, DataBaseException;
	ArrayList<String> getCountries()throws RemoteException, DataBaseException;
	ArrayList<String> getPositionsInCompany()throws RemoteException, DataBaseException;
	ArrayList<String> getBranches()throws RemoteException, DataBaseException;
	ArrayList<String> getDepartments()throws RemoteException, DataBaseException;
	void dropConnection(String nEmp)throws RemoteException;
}
